package Day2025_01_13;

import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;

public class Demo_01_InputStream {
    public static void main(String[] args) throws IOException {
        File file = new File("E:/temp/java114/abc.txt");

        FileInputStream inputStream = new FileInputStream(file);

        while (true) {
            int data = inputStream.read();
            if (data == -1) {
                break;
            }
            System.out.println(data);
        }
        inputStream.close();
    }
}